package com.zjj.learn.designmodel.principles.demo4.after;

/** 黑马防盗门 具有防盗、防水、防火的功能
 * *** @author zjj_admin
 * *** 2022/4/5 11:28
 */
public class HeimeSafetyDoor implements AntiTheft,FireProof,WaterProof {
    @Override
    public void antiTheft() {
        System.out.println("黑马：防盗");
    }

    @Override
    public void fireProof() {
        System.out.println("黑马：防火");
    }

    @Override
    public void waterProof() {
        System.out.println("黑马：防水");
    }
}
